Settings of DC Motor 32 Click driver.
More...
Settings of DC Motor 32 Click driver.
◆ DCMOTOR32_CONTROL_CURRENT_SENSE_DISABLE
| #define DCMOTOR32_CONTROL_CURRENT_SENSE_DISABLE 0x00 |
◆ DCMOTOR32_CONTROL_CURRENT_SENSE_ENABLE
| #define DCMOTOR32_CONTROL_CURRENT_SENSE_ENABLE 0x04 |
◆ DCMOTOR32_CONTROL_CURRENT_SENSE_MASK
| #define DCMOTOR32_CONTROL_CURRENT_SENSE_MASK 0x04 |
◆ DCMOTOR32_CONTROL_EN_DISABLE
| #define DCMOTOR32_CONTROL_EN_DISABLE 0x00 |
◆ DCMOTOR32_CONTROL_EN_ENABLE
| #define DCMOTOR32_CONTROL_EN_ENABLE 0x01 |
◆ DCMOTOR32_CONTROL_EN_MASK
| #define DCMOTOR32_CONTROL_EN_MASK 0x01 |
◆ DCMOTOR32_CONTROL_MODE_FAST_DECAY_HSA
| #define DCMOTOR32_CONTROL_MODE_FAST_DECAY_HSA 0x48 |
◆ DCMOTOR32_CONTROL_MODE_FAST_DECAY_HSA_OPEN_LOAD
| #define DCMOTOR32_CONTROL_MODE_FAST_DECAY_HSA_OPEN_LOAD 0x40 |
◆ DCMOTOR32_CONTROL_MODE_FAST_DECAY_HSB
| #define DCMOTOR32_CONTROL_MODE_FAST_DECAY_HSB 0x20 |
◆ DCMOTOR32_CONTROL_MODE_FAST_DECAY_HSB_OPEN_LOAD
| #define DCMOTOR32_CONTROL_MODE_FAST_DECAY_HSB_OPEN_LOAD 0x28 |
◆ DCMOTOR32_CONTROL_MODE_FORWARD_HSB
| #define DCMOTOR32_CONTROL_MODE_FORWARD_HSB 0x30 |
◆ DCMOTOR32_CONTROL_MODE_FORWARD_LSA
| #define DCMOTOR32_CONTROL_MODE_FORWARD_LSA 0x38 |
◆ DCMOTOR32_CONTROL_MODE_HALF_BRIDGE_A_TRI_STATE
| #define DCMOTOR32_CONTROL_MODE_HALF_BRIDGE_A_TRI_STATE 0x70 |
◆ DCMOTOR32_CONTROL_MODE_HALF_BRIDGE_B_TRI_STATE
| #define DCMOTOR32_CONTROL_MODE_HALF_BRIDGE_B_TRI_STATE 0x78 |
◆ DCMOTOR32_CONTROL_MODE_MASK
| #define DCMOTOR32_CONTROL_MODE_MASK 0x78 |
◆ DCMOTOR32_CONTROL_MODE_PD_GND_OUT
| #define DCMOTOR32_CONTROL_MODE_PD_GND_OUT 0x00 |
◆ DCMOTOR32_CONTROL_MODE_PU_SHORT_TO_GND
| #define DCMOTOR32_CONTROL_MODE_PU_SHORT_TO_GND 0x08 |
◆ DCMOTOR32_CONTROL_MODE_REVERSE_HSA
| #define DCMOTOR32_CONTROL_MODE_REVERSE_HSA 0x58 |
◆ DCMOTOR32_CONTROL_MODE_REVERSE_LSB
| #define DCMOTOR32_CONTROL_MODE_REVERSE_LSB 0x50 |
◆ DCMOTOR32_CONTROL_MODE_SLOW_DECAY_HSA
| #define DCMOTOR32_CONTROL_MODE_SLOW_DECAY_HSA 0x68 |
◆ DCMOTOR32_CONTROL_MODE_SLOW_DECAY_HSB
| #define DCMOTOR32_CONTROL_MODE_SLOW_DECAY_HSB 0x60 |
◆ DCMOTOR32_CONTROL_MODE_SLOW_DECAY_LSA
| #define DCMOTOR32_CONTROL_MODE_SLOW_DECAY_LSA 0x18 |
◆ DCMOTOR32_CONTROL_MODE_SLOW_DECAY_LSB
| #define DCMOTOR32_CONTROL_MODE_SLOW_DECAY_LSB 0x10 |
◆ DCMOTOR32_CONTROL_SDO_SEL_CONTROL
| #define DCMOTOR32_CONTROL_SDO_SEL_CONTROL 0x00 |
DC Motor 32 control byte setting.
Specified setting for control byte of DC Motor 32 Click driver.
◆ DCMOTOR32_CONTROL_SDO_SEL_MASK
| #define DCMOTOR32_CONTROL_SDO_SEL_MASK 0x80 |
◆ DCMOTOR32_CONTROL_SDO_SEL_STATUS
| #define DCMOTOR32_CONTROL_SDO_SEL_STATUS 0x80 |
◆ DCMOTOR32_CONTROL_SLEW_RATE_FAST
| #define DCMOTOR32_CONTROL_SLEW_RATE_FAST 0x02 |
◆ DCMOTOR32_CONTROL_SLEW_RATE_MASK
| #define DCMOTOR32_CONTROL_SLEW_RATE_MASK 0x02 |
◆ DCMOTOR32_CONTROL_SLEW_RATE_SLOW
| #define DCMOTOR32_CONTROL_SLEW_RATE_SLOW 0x00 |
◆ DCMOTOR32_NUM_CONVERSIONS
| #define DCMOTOR32_NUM_CONVERSIONS 200 |
DC Motor 32 default ADC samples number for averaging.
Specified default ADC samples number for averaging of DC Motor 32 Click driver.
◆ DCMOTOR32_R8
| #define DCMOTOR32_R8 1000.0 |
DC Motor 32 current calculation setting.
Specified setting for current calculation of DC Motor 32 Click driver.
◆ DCMOTOR32_R9
| #define DCMOTOR32_R9 820.0 |
◆ DCMOTOR32_STATUS_EN_MASK
| #define DCMOTOR32_STATUS_EN_MASK 0x01 |
◆ DCMOTOR32_STATUS_OCA_MASK
| #define DCMOTOR32_STATUS_OCA_MASK 0x40 |
◆ DCMOTOR32_STATUS_OCB_MASK
| #define DCMOTOR32_STATUS_OCB_MASK 0x20 |
◆ DCMOTOR32_STATUS_OL_MASK
| #define DCMOTOR32_STATUS_OL_MASK 0x10 |
◆ DCMOTOR32_STATUS_SDO_SEL_CONTROL
| #define DCMOTOR32_STATUS_SDO_SEL_CONTROL 0x00 |
DC Motor 32 status byte setting.
Specified setting for status byte of DC Motor 32 Click driver.
◆ DCMOTOR32_STATUS_SDO_SEL_MASK
| #define DCMOTOR32_STATUS_SDO_SEL_MASK 0x80 |
◆ DCMOTOR32_STATUS_SDO_SEL_STATUS
| #define DCMOTOR32_STATUS_SDO_SEL_STATUS 0x80 |
◆ DCMOTOR32_STATUS_TSDA_MASK
| #define DCMOTOR32_STATUS_TSDA_MASK 0x04 |
◆ DCMOTOR32_STATUS_TSDB_MASK
| #define DCMOTOR32_STATUS_TSDB_MASK 0x02 |
◆ DCMOTOR32_STATUS_UV_MASK
| #define DCMOTOR32_STATUS_UV_MASK 0x08 |
◆ DCMOTOR32_TIMEOUT_MS
| #define DCMOTOR32_TIMEOUT_MS 2000 |
DC Motor 32 timeout setting.
Specified setting for timeout of DC Motor 32 Click driver.
◆ DCMOTOR32_VREF_3V3
| #define DCMOTOR32_VREF_3V3 3.3 |
DC Motor 32 ADC setting.
Specified settings for ADC of DC Motor 32 Click driver.
◆ DCMOTOR32_VREF_5V
| #define DCMOTOR32_VREF_5V 5.0 |
◆ DCMOTOR32_VREF_DEFAULT